package com.dorm.manage.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.dorm.common.annotation.Excel;
import com.dorm.common.core.domain.BaseEntity;

/**
 * 宿舍公告对象 dorm_notice
 * 
 * @author 王新瑜
 * @date 2025-06-06
 */
public class DormNotice extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 公告ID（主键） */
    private Long noticeId;

    /** 公告标题 */
    @Excel(name = "公告标题")
    private String noticeTitle;

    /** 封面图片路径 */
    @Excel(name = "封面图片")
    private String coverImage;

    /** 公告类型（0=公告,1=通知,2=活动） */
    @Excel(name = "公告类型", readConverterExp = "0=公告,1=通知,2=活动")
    private String noticeType;

    /** 公告内容（支持HTML/富文本） */
    @Excel(name = "公告内容", readConverterExp = "支=持HTML/富文本")
    private String noticeContent;

    /** 状态（0正常,1关闭） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=关闭")
    private String status;

    /** 是否在轮播图显示（0否 1是） */
    @Excel(name = "轮播图显示", readConverterExp = "0=否,1=是")
    private String isCarousel;

    /** 点赞数量 */
    @Excel(name = "点赞数量")
    private Integer likeCount;

    public void setNoticeId(Long noticeId) 
    {
        this.noticeId = noticeId;
    }

    public Long getNoticeId() 
    {
        return noticeId;
    }

    public void setNoticeTitle(String noticeTitle) 
    {
        this.noticeTitle = noticeTitle;
    }

    public String getNoticeTitle() 
    {
        return noticeTitle;
    }

    public void setCoverImage(String coverImage)
    {
        this.coverImage = coverImage;
    }

    public String getCoverImage()
    {
        return coverImage;
    }

    public void setNoticeType(String noticeType) 
    {
        this.noticeType = noticeType;
    }

    public String getNoticeType() 
    {
        return noticeType;
    }

    public void setNoticeContent(String noticeContent) 
    {
        this.noticeContent = noticeContent;
    }

    public String getNoticeContent() 
    {
        return noticeContent;
    }

    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getIsCarousel()
    {
        return isCarousel;
    }

    public void setIsCarousel(String isCarousel)
    {
        this.isCarousel = isCarousel;
    }

    public String getStatus()
    {
        return status;
    }

    public void setLikeCount(Integer likeCount)
    {
        this.likeCount = likeCount;
    }

    public Integer getLikeCount()
    {
        return likeCount;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("noticeId", getNoticeId())
            .append("noticeTitle", getNoticeTitle())
            .append("coverImage", getCoverImage())
            .append("noticeType", getNoticeType())
            .append("noticeContent", getNoticeContent())
            .append("status", getStatus())
            .append("isCarousel", getIsCarousel())
            .append("likeCount", getLikeCount())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
